<?php
require("connection.php");
$connection=mysql_connect($server,$username,$password);
if($connection){
	$database=mysql_select_db($db, $connection);
	$sql="SELECT mag_cliente, mag_cdesc
		FROM magove_t_clientes;";
	$query=mysql_query($sql);
	while($row=mysql_fetch_array($query)){
		print "<option value=\"".$row["mag_cliente"]."\">".$row["mag_cdesc"]."</option>";
	}
	$connection=mysql_close();
}
?>
